From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 19 Sep 2023 18:13:57 +0200
Subject: refactor(build): replace paths aliases with relative paths

Using paths aliases starting with "@" can be confusing and can lead to
conflict with existings modules. I prefer to use relative paths to
avoid extra configuration in tools because of these aliases.
---
 src/pages/thematique/[slug].tsx | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

(limited to 'src/pages/thematique/[slug].tsx')

diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index 7aa6c1c..b7d97a3 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -1,40 +1,40 @@
-import Heading from '@components/atoms/headings/heading';
-import PostsList from '@components/organisms/layout/posts-list';
-import LinksListWidget from '@components/organisms/widgets/links-list-widget';
-import { getLayout } from '@components/templates/layout/layout';
+import { GetStaticPaths, GetStaticProps } from 'next';
+import Head from 'next/head';
+import { useRouter } from 'next/router';
+import Script from 'next/script';
+import { ParsedUrlQuery } from 'querystring';
+import { useIntl } from 'react-intl';
+import Heading from '../../components/atoms/headings/heading';
+import PostsList from '../../components/organisms/layout/posts-list';
+import LinksListWidget from '../../components/organisms/widgets/links-list-widget';
+import { getLayout } from '../../components/templates/layout/layout';
 import PageLayout, {
   type PageLayoutProps,
-} from '@components/templates/page/page-layout';
+} from '../../components/templates/page/page-layout';
 import {
   getAllThematicsSlugs,
   getThematicBySlug,
   getThematicsPreview,
   getTotalThematics,
-} from '@services/graphql/thematics';
+} from '../../services/graphql/thematics';
 import {
   type NextPageWithLayout,
   type PageLink,
   type Thematic,
-} from '@ts/types/app';
-import { loadTranslation, type Messages } from '@utils/helpers/i18n';
+} from '../../types/app';
+import { loadTranslation, type Messages } from '../../utils/helpers/i18n';
 import {
   getLinksListItems,
   getPageLinkFromRawData,
   getPostsWithUrl,
-} from '@utils/helpers/pages';
+} from '../../utils/helpers/pages';
 import {
   getSchemaJson,
   getSinglePageSchema,
   getWebPageSchema,
-} from '@utils/helpers/schema-org';
-import useBreadcrumb from '@utils/hooks/use-breadcrumb';
-import useSettings from '@utils/hooks/use-settings';
-import { GetStaticPaths, GetStaticProps } from 'next';
-import Head from 'next/head';
-import { useRouter } from 'next/router';
-import Script from 'next/script';
-import { ParsedUrlQuery } from 'querystring';
-import { useIntl } from 'react-intl';
+} from '../../utils/helpers/schema-org';
+import useBreadcrumb from '../../utils/hooks/use-breadcrumb';
+import useSettings from '../../utils/hooks/use-settings';
 
 export type ThematicPageProps = {
   currentThematic: Thematic;
-- 
cgit v1.2.3

